Caption = "FindXL is a debug tool to aid in developing and testing applications using Visual Basic 3.0 and the OLE Automation objects in Microsoft Excel. When Visual Basic 3.0 ends without closing a hidden copy of Microsoft Excel, for example in the event of a run-time error, the hidden copy cannot be found and terminated with Task Manager. Furthermore, you may wish to examine the state of the hidden instance. This applet allows you to do so relatively easily."
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 2265
Left = 90
TabIndex = 4
Top = 1080
Width = 3435
End
Begin Label labInfo
Caption = "Use OLE Automation to find hidden instances of Microsoft Excel and make them visible."
FontBold = 0 'False
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 8.25
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 555
Left = 90
TabIndex = 2
Top = 90
Width = 3435
End
Option Explicit
Dim miOriginalHeight As Integer
' MsgBox parameters
Const MB_OK = 0 ' OK button only
Const MB_YESNO = 4 ' Yes and No buttons
Const MB_ICONQUESTION = 32 ' Warning query
Const MB_ICONEXCLAMATION = 48 ' Warning message
Const MB_ICONINFORMATION = 64 ' Information message